package com.nulldev.util.security.encryptAPI_rw.api;

public interface IPKPKBlockingCipher extends IBlockingCipher {

	@Override
	default ICipherType getCipherType() {
		return ICipherType.PRIVATE_PUBLIC_KEY;
	}

	public byte[] encrypt(final byte[] data, final byte[] privateKey, final byte[] publicKey);

	public byte[] decrypt(final byte[] data, final byte[] privateKey, final byte[] publicKey);

	public default Object createLocal(final byte[] privateKey, final byte[] publicKey) {
		return null; // TODO
	}
}
